/*
 ============================================================================
 Name		: stopwatchApp.h
 Author	  : Huang.haiyang
 
     This is free software; you can redistribute it and/or
     modify it under the terms of the GNU Lesser General Public
	 License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later version.
 
     This software is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Lesser General Public License for more details.
     
 Description : Declares main application class.
 ============================================================================
 */

#ifndef STOPWATCHAPP_H
#define STOPWATCHAPP_H

// INCLUDES
#include <aknapp.h>

// CONSTANTS
// UID of the application
const TUid KUidstopwatch =
	{
	0x040B7678
	};

// CLASS DECLARATION

/**
 * CstopwatchApp application class.
 * Provides factory to create concrete document object.
 * 
 */
class CStopwatchApp : public CAknApplication
	{

public:
	// Functions from base classes
private:

	/**
	 * From CApaApplication, creates CStopwatchDocument document object.
	 * @return A pointer to the created document object.
	 */
	CApaDocument* CreateDocumentL();

	/**
	 * From CApaApplication, returns application's UID (KUidstopwatch).
	 * @return The value of KUidstopwatch.
	 */
	TUid AppDllUid() const;
	};

#endif  // STOPWATCHAPP_H

